lhc/web/wiklou.git
18 years agofix whitespace consistency
Brion Vibber [Mon, 30 Jan 2006 01:04:10 +0000 (01:04 +0000)]
fix whitespace consistency

18 years agoClean up code in, and add contributions link to block log items
Rob Church [Sun, 29 Jan 2006 23:24:01 +0000 (23:24 +0000)]
Clean up code in, and add contributions link to block log items

18 years agoFix overlooked hard-coded table name (reported in bug 4748)
Rob Church [Sun, 29 Jan 2006 17:37:23 +0000 (17:37 +0000)]
Fix overlooked hard-coded table name (reported in bug 4748)

18 years agoUpdate for Russian language
Alexander Sigachov [Sun, 29 Jan 2006 14:43:42 +0000 (14:43 +0000)]
Update for Russian language

18 years ago* Adjust user login/creation form hooks to work with a captcha plugin
Brion Vibber [Sun, 29 Jan 2006 07:35:28 +0000 (07:35 +0000)]
* Adjust user login/creation form hooks to work with a captcha plugin

18 years agoParser test case for bug 4783
Brion Vibber [Sat, 28 Jan 2006 21:51:01 +0000 (21:51 +0000)]
Parser test case for bug 4783

18 years agoFix for bug 4783 : {{ns:0}} does not render
Magnus Manske [Sat, 28 Jan 2006 21:44:57 +0000 (21:44 +0000)]
Fix for bug 4783 : {{ns:0}} does not render

18 years agofix for externallinks
Brion Vibber [Sat, 28 Jan 2006 21:42:42 +0000 (21:42 +0000)]
fix for externallinks

18 years agoNamespace notice (fix for bug 4469) is back:
Magnus Manske [Sat, 28 Jan 2006 17:36:08 +0000 (17:36 +0000)]
Namespace notice (fix for bug 4469) is back:
Namespace-specific notice to be displayed below site-notice. Edit messages like "MediaWiki:Namespacenotice-" plus namespace name, which is blank for main namespace, or like e.g. "User_talk".

18 years ago* Include timestamp in wfDebugLog breakouts
Brion Vibber [Sat, 28 Jan 2006 11:42:35 +0000 (11:42 +0000)]
* Include timestamp in wfDebugLog breakouts

18 years agoWas never committed to HEAD for some reason
Tim Starling [Sat, 28 Jan 2006 08:22:24 +0000 (08:22 +0000)]
Was never committed to HEAD for some reason

18 years agoForgot to add the new link tables to Article::doDeleteArticle()
Tim Starling [Sat, 28 Jan 2006 00:35:34 +0000 (00:35 +0000)]
Forgot to add the new link tables to Article::doDeleteArticle()

18 years agoMaintenance script to find and remove links to a given domain (cleanupSpam.php)
Tim Starling [Fri, 27 Jan 2006 23:37:19 +0000 (23:37 +0000)]
Maintenance script to find and remove links to a given domain (cleanupSpam.php)

18 years agoRevert last commit -- hardcoded 'Wikipedia' strings
Brion Vibber [Fri, 27 Jan 2006 21:31:06 +0000 (21:31 +0000)]
Revert last commit -- hardcoded 'Wikipedia' strings

18 years agoRevert last commit -- hardcoded 'Wikipedia' strings.
Brion Vibber [Fri, 27 Jan 2006 21:29:49 +0000 (21:29 +0000)]
Revert last commit -- hardcoded 'Wikipedia' strings.

18 years agoupdated Czech translation from bug 1120. NB:I've uncommented the Magic Words, so...
Rowan Collins [Fri, 27 Jan 2006 13:56:27 +0000 (13:56 +0000)]
updated Czech translation from bug 1120. NB:I've uncommented the Magic Words, so if there was a reason they were commented, please revert!

18 years agoUpdated 'ms' (Bahasai Melayu) language files, from bug 4770 with some manual fixes.
Rowan Collins [Fri, 27 Jan 2006 13:06:26 +0000 (13:06 +0000)]
Updated 'ms' (Bahasai Melayu) language files, from bug 4770 with some manual fixes.

18 years agoMaintenance script to reassign edits from one user to another
Rob Church [Thu, 26 Jan 2006 21:41:40 +0000 (21:41 +0000)]
Maintenance script to reassign edits from one user to another

18 years agoformatNum in langRu
Alexander Sigachov [Thu, 26 Jan 2006 21:27:31 +0000 (21:27 +0000)]
formatNum in langRu

18 years agoInclude deleted edits in the CountEdits support function; will affect removeUnusedAcc...
Rob Church [Thu, 26 Jan 2006 18:07:34 +0000 (18:07 +0000)]
Include deleted edits in the CountEdits support function; will affect removeUnusedAccounts script

18 years ago* Added externallinks table, to track links to arbitrary URLs
Tim Starling [Thu, 26 Jan 2006 13:29:14 +0000 (13:29 +0000)]
* Added externallinks table, to track links to arbitrary URLs
* Convert unnecessary URL escape codes in external links to their equivalent
  character before doing anything with them. This prevents certain kinds of
  spam filter evasion. (Parser.php only)

18 years agoDon't use tidy. Command line option to specify the end ID. Clear the link cache after...
Tim Starling [Thu, 26 Jan 2006 11:25:26 +0000 (11:25 +0000)]
Don't use tidy. Command line option to specify the end ID. Clear the link cache after each article to keep memory usage down.

18 years ago* Use revision rate for ETA in dump generation; it tends to be more stable
Brion Vibber [Thu, 26 Jan 2006 08:06:05 +0000 (08:06 +0000)]
* Use revision rate for ETA in dump generation; it tends to be more stable
  than the per-page count for full-history dumps.

18 years agoFixed Special:Unlockdb, had been broken since 1.5beta1
Tim Starling [Thu, 26 Jan 2006 07:02:53 +0000 (07:02 +0000)]
Fixed Special:Unlockdb, had been broken since 1.5beta1

18 years ago* Maintenance script to delete unused text records
Rob Church [Wed, 25 Jan 2006 21:08:29 +0000 (21:08 +0000)]
* Maintenance script to delete unused text records
* Maintenance script to delete non-current revisions
* Maintenance script to wipe a page and all revisions from the database

18 years agoNote:
Domas Mituzas [Wed, 25 Jan 2006 21:06:30 +0000 (21:06 +0000)]
Note:
Allow lagged external storage
Do not tidy user interface messages
Fix revision fetching query (propagate equality manually :)

18 years agodo not trust equality propagation, help optimizer a bit ;-)
Domas Mituzas [Wed, 25 Jan 2006 20:50:39 +0000 (20:50 +0000)]
do not trust equality propagation, help optimizer a bit ;-)

18 years agoAdd Special:Listredirects to list of query pages; wasn't being cached
Rob Church [Wed, 25 Jan 2006 15:09:52 +0000 (15:09 +0000)]
Add Special:Listredirects to list of query pages; wasn't being cached

18 years agoAdded $wgInvisibleGroups, to hide groups from Special:Listusers
Tim Starling [Wed, 25 Jan 2006 12:01:26 +0000 (12:01 +0000)]
Added $wgInvisibleGroups, to hide groups from Special:Listusers

18 years agoremove some more profiling hooks from commonly used calls
Domas Mituzas [Wed, 25 Jan 2006 11:25:56 +0000 (11:25 +0000)]
remove some more profiling hooks from commonly used calls

18 years agoremove profiling hooks from hooks ;-)
Domas Mituzas [Wed, 25 Jan 2006 10:51:12 +0000 (10:51 +0000)]
remove profiling hooks from hooks ;-)

18 years agoFix dependence on hardcoded UNIQ_PREFIX.
Zheng Zhu [Tue, 24 Jan 2006 19:33:36 +0000 (19:33 +0000)]
Fix dependence on hardcoded UNIQ_PREFIX.

18 years agoFix dependence on hardcoded UNIQ_PREFIX.
Zheng Zhu [Tue, 24 Jan 2006 18:36:45 +0000 (18:36 +0000)]
Fix dependence on hardcoded UNIQ_PREFIX.

18 years agoAnother pecial error
Niklas Laxström [Mon, 23 Jan 2006 23:12:11 +0000 (23:12 +0000)]
Another pecial error

18 years agoergh, yet more direct parser bits, ask for tidy when post-edit saving to parser cache
Domas Mituzas [Mon, 23 Jan 2006 22:32:44 +0000 (22:32 +0000)]
ergh, yet more direct parser bits, ask for tidy when post-edit saving to parser cache

18 years agoa Bug which I mentally fixed long ago
Niklas Laxström [Mon, 23 Jan 2006 22:01:46 +0000 (22:01 +0000)]
a Bug which I mentally fixed long ago

18 years agoallow to enable full tidy
Domas Mituzas [Mon, 23 Jan 2006 20:57:57 +0000 (20:57 +0000)]
allow to enable full tidy

18 years agofix previews
Domas Mituzas [Mon, 23 Jan 2006 20:44:56 +0000 (20:44 +0000)]
fix previews

18 years ago* (bug 4686) Fix regression where ?diff=0&oldid=0 caused fatal error on
Brion Vibber [Mon, 23 Jan 2006 19:41:03 +0000 (19:41 +0000)]
* (bug 4686) Fix regression where ?diff=0&oldid=0 caused fatal error on
  pages with only one revision. Fixes message diff link on first edit.

18 years agowhitespace, use member variable instead of function
Domas Mituzas [Mon, 23 Jan 2006 19:05:09 +0000 (19:05 +0000)]
whitespace, use member variable instead of function

18 years agoTidy up only article views, previews, image pages and diffs.
Domas Mituzas [Mon, 23 Jan 2006 18:37:46 +0000 (18:37 +0000)]
Tidy up only article views, previews, image pages and diffs.

18 years ago*g*, bypass lag checks for external store (as it already fallbacks to master)
Domas Mituzas [Mon, 23 Jan 2006 15:28:17 +0000 (15:28 +0000)]
*g*, bypass lag checks for external store (as it already fallbacks to master)

18 years agoallow bypassing lag checks
Domas Mituzas [Mon, 23 Jan 2006 15:27:44 +0000 (15:27 +0000)]
allow bypassing lag checks

18 years agoconvertPlural fix in LanguageRu.php
Alexander Sigachov [Mon, 23 Jan 2006 15:15:08 +0000 (15:15 +0000)]
convertPlural fix in LanguageRu.php

18 years agoRevert changes to skin since that's now the fourth user complaint
Rob Church [Mon, 23 Jan 2006 01:00:04 +0000 (01:00 +0000)]
Revert changes to skin since that's now the fourth user complaint

18 years ago* (bug 4633) Add (previous 200) (next 200) also above catlinks
Rob Church [Sun, 22 Jan 2006 23:10:56 +0000 (23:10 +0000)]
* (bug 4633) Add (previous 200) (next 200) also above catlinks

18 years ago* wfGetSiteNotice() gets called on DB errors (wtf?) so depending on $wgUser
Ævar Arnfjörð Bjarmason [Sun, 22 Jan 2006 12:38:13 +0000 (12:38 +0000)]
* wfGetSiteNotice() gets called on DB errors (wtf?) so depending on $wgUser
  which depends on the database for this executing successfully is not a very
  good idea...

18 years agofix $wgDebugDumpSql for backup bits; quick hack, flag wasn't passed. need a cleaner...
Brion Vibber [Sun, 22 Jan 2006 11:44:50 +0000 (11:44 +0000)]
fix $wgDebugDumpSql for backup bits; quick hack, flag wasn't passed. need a cleaner func for opening a second connection

18 years agoSmall corrections
Niklas Laxström [Sun, 22 Jan 2006 11:30:50 +0000 (11:30 +0000)]
Small corrections

18 years ago* (bug 4615) Update for Portuguese language (pt)
Niklas Laxström [Sun, 22 Jan 2006 11:15:29 +0000 (11:15 +0000)]
* (bug 4615) Update for Portuguese language (pt)

18 years ago* Suppress useless percentage indicator on output from 7za during dumps
Brion Vibber [Sun, 22 Jan 2006 07:03:03 +0000 (07:03 +0000)]
* Suppress useless percentage indicator on output from 7za during dumps

18 years ago* Fix backup dump text prefetch for XMLReader constant changes in PHP 5.1
Brion Vibber [Sun, 22 Jan 2006 04:05:30 +0000 (04:05 +0000)]
* Fix backup dump text prefetch for XMLReader constant changes in PHP 5.1

18 years ago* #p-cactions : left: 10.5em => 11.5em; A little spacing is nice;)
Ævar Arnfjörð Bjarmason [Sun, 22 Jan 2006 02:03:35 +0000 (02:03 +0000)]
* #p-cactions : left: 10.5em => 11.5em; A little spacing is nice;)

18 years agoWhoops, URL encoding (ta Brion)
Rob Church [Sun, 22 Jan 2006 01:12:19 +0000 (01:12 +0000)]
Whoops, URL encoding (ta Brion)

18 years agoSame for core messages and language...
Domas Mituzas [Sun, 22 Jan 2006 00:49:58 +0000 (00:49 +0000)]
Same for core messages and language...

18 years agoMove AllMessages arrays to separate files:
Domas Mituzas [Sun, 22 Jan 2006 00:40:23 +0000 (00:40 +0000)]
Move AllMessages arrays to separate files:
- will allow efficient compiling of Language* classes
- will allow compiling message arrays into constant databases

18 years ago* Don't show a block link if the user doesn't exist/isn't a valid IP (e.g. MediaWiki...
Rob Church [Sun, 22 Jan 2006 00:30:01 +0000 (00:30 +0000)]
* Don't show a block link if the user doesn't exist/isn't a valid IP (e.g. MediaWiki default)
* Link to block log

18 years agoAdd block link to Special:Contributions
Rob Church [Sat, 21 Jan 2006 23:08:34 +0000 (23:08 +0000)]
Add block link to Special:Contributions

18 years agosneak preview of split language file
Domas Mituzas [Sat, 21 Jan 2006 22:24:23 +0000 (22:24 +0000)]
sneak preview of split language file

18 years agoComment $wgDebugDumpSql
Rob Church [Sat, 21 Jan 2006 21:57:02 +0000 (21:57 +0000)]
Comment $wgDebugDumpSql

18 years agoDocument previous change
Rob Church [Sat, 21 Jan 2006 20:32:19 +0000 (20:32 +0000)]
Document previous change

18 years agoCheck for "block" permission, not "protect" permission, when determining whether...
Rob Church [Sat, 21 Jan 2006 20:29:17 +0000 (20:29 +0000)]
Check for "block" permission, not "protect" permission, when determining whether or not to show a block link in the toolbox

18 years agotypo
Domas Mituzas [Sat, 21 Jan 2006 17:08:41 +0000 (17:08 +0000)]
typo

18 years agodon't look at this diff, it is too lame ;)
Domas Mituzas [Sat, 21 Jan 2006 16:50:22 +0000 (16:50 +0000)]
don't look at this diff, it is too lame ;)

18 years agooops, $this and some globals
Domas Mituzas [Sat, 21 Jan 2006 16:44:46 +0000 (16:44 +0000)]
oops, $this and some globals

18 years agolocal cdb-based interwiki cache
Domas Mituzas [Sat, 21 Jan 2006 16:23:45 +0000 (16:23 +0000)]
local cdb-based interwiki cache

18 years agoWhen reading from meta's interwiki map, *.wikimedia.org should be set as local (e...
Rowan Collins [Sat, 21 Jan 2006 13:25:41 +0000 (13:25 +0000)]
When reading from meta's interwiki map, *.wikimedia.org should be set as local (e.g. commons).

18 years agosomewhatdirtyhack: build constant slightly compact database of interwiki prefixes
Domas Mituzas [Sat, 21 Jan 2006 13:05:43 +0000 (13:05 +0000)]
somewhatdirtyhack: build constant slightly compact database of interwiki prefixes

18 years agoWhen reading from meta's interwiki map, *.wikimedia.org should be set as local (e...
Rowan Collins [Sat, 21 Jan 2006 13:04:57 +0000 (13:04 +0000)]
When reading from meta's interwiki map, *.wikimedia.org should be set as local (e.g. commons).

18 years ago* ctype tests
Ævar Arnfjörð Bjarmason [Fri, 20 Jan 2006 22:52:21 +0000 (22:52 +0000)]
* ctype tests

18 years ago* This requires ../includes/Hooks.php
Ævar Arnfjörð Bjarmason [Fri, 20 Jan 2006 22:51:10 +0000 (22:51 +0000)]
* This requires ../includes/Hooks.php

18 years ago* set_include_path() in case of a custom PHPTest install
Ævar Arnfjörð Bjarmason [Fri, 20 Jan 2006 22:50:47 +0000 (22:50 +0000)]
* set_include_path() in case of a custom PHPTest install
* Run ctype tests

18 years ago* Added options to install phpunit for the lazy
Ævar Arnfjörð Bjarmason [Fri, 20 Jan 2006 22:49:07 +0000 (22:49 +0000)]
* Added options to install phpunit for the lazy

18 years agoDefault main page content improved per bug 4690
Rob Church [Fri, 20 Jan 2006 21:52:52 +0000 (21:52 +0000)]
Default main page content improved per bug 4690

18 years ago* (bug 3603) headscripts variable not hooked up to MonoBook skin
Rob Church [Fri, 20 Jan 2006 19:01:54 +0000 (19:01 +0000)]
* (bug 3603) headscripts variable not hooked up to MonoBook skin

18 years ago* (bug 4679) Work around buggy basename() function in PHP5, which breaks
Brion Vibber [Fri, 20 Jan 2006 09:03:16 +0000 (09:03 +0000)]
* (bug 4679) Work around buggy basename() function in PHP5, which breaks
  uploads of files starting with multibyte characters on Linux.
  wfBaseName() doesn't suffer this bug, and understands backslash on
  both Unix and Windows.

18 years ago* Small changes to tabs in Monobook skin c/o Chris Ware
Rob Church [Thu, 19 Jan 2006 23:24:20 +0000 (23:24 +0000)]
* Small changes to tabs in Monobook skin c/o Chris Ware

18 years agodateformat in Chuvash langfile
Alexander Sigachov [Thu, 19 Jan 2006 19:17:15 +0000 (19:17 +0000)]
dateformat in Chuvash langfile

18 years agoMake Revision::getPrevious() and Revision::getNext() return null if there are no...
Tim Starling [Thu, 19 Jan 2006 17:12:37 +0000 (17:12 +0000)]
Make Revision::getPrevious() and Revision::getNext() return null if there are no more revisions to fetch in that direction. They previously just started from the current revision again.

18 years agogive the correct error message when an article doesn't exist
Tim Starling [Thu, 19 Jan 2006 17:10:57 +0000 (17:10 +0000)]
give the correct error message when an article doesn't exist

18 years agosome changes
Tim Starling [Thu, 19 Jan 2006 09:06:51 +0000 (09:06 +0000)]
some changes

18 years agouse wfRegexReplacement() which was added a little while ago to cover this silly regex...
Brion Vibber [Thu, 19 Jan 2006 06:29:41 +0000 (06:29 +0000)]
use wfRegexReplacement() which was added a little while ago to cover this silly regex case

18 years agocheck if Revision::getText() returned without an error
Tim Starling [Thu, 19 Jan 2006 04:52:18 +0000 (04:52 +0000)]
check if Revision::getText() returned without an error

18 years agoDon't try to inflate or unserialize an error flag
Tim Starling [Thu, 19 Jan 2006 03:59:20 +0000 (03:59 +0000)]
Don't try to inflate or unserialize an error flag

18 years agoTry the master if a blob is not found in the slave
Tim Starling [Thu, 19 Jan 2006 03:55:03 +0000 (03:55 +0000)]
Try the master if a blob is not found in the slave

18 years ago* Adding link to the relevant mailing list post in the comment for deps.php stuff
Ævar Arnfjörð Bjarmason [Wed, 18 Jan 2006 17:01:13 +0000 (17:01 +0000)]
* Adding link to the relevant mailing list post in the comment for deps.php stuff

18 years agoRemove gratuitous extract( ) from getSQL -> might as well use the direct function
Rob Church [Wed, 18 Jan 2006 16:17:15 +0000 (16:17 +0000)]
Remove gratuitous extract( ) from getSQL -> might as well use the direct function

18 years agoBug 4429: "Protect" tab in page header
Rob Church [Wed, 18 Jan 2006 03:24:21 +0000 (03:24 +0000)]
Bug 4429: "Protect" tab in page header

18 years agoFix redlinks where targets don't exist
Rob Church [Wed, 18 Jan 2006 02:19:44 +0000 (02:19 +0000)]
Fix redlinks where targets don't exist

18 years agowas missing Zh_cn dep
Brion Vibber [Wed, 18 Jan 2006 01:57:15 +0000 (01:57 +0000)]
was missing Zh_cn dep

18 years ago* Comment userFunctions.inc
Rob Church [Wed, 18 Jan 2006 01:29:07 +0000 (01:29 +0000)]
* Comment userFunctions.inc
* Replace uses of raw queries with appropriate database wrapper functions
* Correct some interface inconsistencies in removeUnusedAccounts.php (was referring to deleting users even when no editless users were found)

18 years agoRevert to un-borked version, sorry Brion
Rob Church [Wed, 18 Jan 2006 00:04:30 +0000 (00:04 +0000)]
Revert to un-borked version, sorry Brion

18 years ago* Add ".deps.php" include-file preloaders for some dynamically-loaded
Brion Vibber [Tue, 17 Jan 2006 23:43:15 +0000 (23:43 +0000)]
* Add ".deps.php" include-file preloaders for some dynamically-loaded
  language and skin classes. Should help with the broken base-class
  problem under PHP 5 with APC as opcode cache. See details:
  http://mail.wikipedia.org/pipermail/wikitech-l/2006-January/033660.html

18 years agoRespect database prefix in dumpHTML.inc
Rob Church [Tue, 17 Jan 2006 21:57:14 +0000 (21:57 +0000)]
Respect database prefix in dumpHTML.inc

18 years agoFix false blue links on Special:Ipblocklist
Rob Church [Tue, 17 Jan 2006 21:53:37 +0000 (21:53 +0000)]
Fix false blue links on Special:Ipblocklist

18 years agoFix some s/'/"/g related issues
Antoine Musso [Tue, 17 Jan 2006 20:21:31 +0000 (20:21 +0000)]
Fix some s/'/"/g related issues

18 years agoFix crash when using 'tasks' extension
Antoine Musso [Tue, 17 Jan 2006 20:14:20 +0000 (20:14 +0000)]
Fix crash when using 'tasks' extension

18 years ago'see sections below for details' - spundun was confused
Antoine Musso [Tue, 17 Jan 2006 19:54:04 +0000 (19:54 +0000)]
'see sections below for details' - spundun was confused

18 years agoremoved misfeature (ignore writes while in read only mode): more trouble than it...
Tim Starling [Tue, 17 Jan 2006 16:16:43 +0000 (16:16 +0000)]
removed misfeature (ignore writes while in read only mode):  more trouble than it's worth

18 years agoRemoving leecruft. No, you sure as hell couldn't defer it.
Tim Starling [Tue, 17 Jan 2006 13:24:00 +0000 (13:24 +0000)]
Removing leecruft. No, you sure as hell couldn't defer it.